<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Bimal's private micro blogging</title>
<link href="css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrapper">

<div class="information">
  <h1><a href="./">Quick Posts</a></h1>
  <p>These are a list micrblogs of Mr. <a href="http://www.odesk.com/users/~~dd91d11caed0cdce">Bimal Poudel</a>. Bimal Poudel is a website backend developer and  mysql database modeler. You can meet him in <a href="http://www.facebook.com/bimal.sanjaal">facebook</a>. He works as a php programmer, and intersted in raising <a href="http://lyrics.sanjaal.com/">local language lyrics database.</a></p>
  <p>View <a href="http://bimal.org.np/">CV</a> or hire <a href="http://www.odesk.com/users/~~dd91d11caed0cdce">him now</a>.</p>
</div>

<div class="microblogs-holder">

<div class="microblogs">
<!-- paginator -->
{if $pagination->has_pages()}
<div class="paginator">
	{paginate separator=' ' ulli=false source=$pagination}
</div>
{/if}

{section name='mb' loop=$microblogs}
 	<div class="microblog">
		<div class="topic">{$microblogs[mb].post_title|posttitle:$microblogs[mb].category_id}</div>
		<div class="blog">{$microblogs[mb].post_descriptions|pre:$microblogs[mb].is_text}</div>
		<div class="author">Posted under {$microblogs[mb].category_id|category} @ {'l dS \of F Y h:i:s A'|date:$microblogs[mb].added_on}</div>
	</div>
{/section}

{if isset($smarty.get.category) && $smarty.session.is_admin}
<!-- do not show on home pages -->
<div class="quickpost">
<form name="quickpost" method="post" action="posts-quick.php">
  <input type="text" name="title" value="" />
  <textarea name="post"></textarea>
  <input type="hidden" name="category_id" value="{'category'|magical}" />
  <input type="hidden" name="add-action" value="Add a post" />
  <input type="submit" name="Submit" value="Quick Post" class="submit" />
</form>
</div>
{/if}

 </div>
  <div class="categories">
    <p class="category"><a href="./?reset=true">View all categories </a></p>
	{section name='c' loop=$categories}
    <p class="category"><a href="./?category={$categories[c].category_id}">{$categories[c].category_name} ({$categories[c].counter})</a></p>
    {/section}
	
	<div class="photo"></div>
  </div>
  <div class="clear"></div>
</div>
  <div class="footer"><a href="admin/">+</a>/<a href="logout.php">-</a> <a href="http://bimal.org.np/">Bimal Poudel</a> - Powered by <a href="http://code.google.com/p/qpost/">QPost MicroBlogger</a></div>
</div>
</body>
</html>
